<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script src="https://unpkg.com/vue@next"></script>
<div id="app"></div>
<script>
    const vueOpt = {
        data(){
            return {
                count: 10
            }
        },

        methods:{
            increment(){
                this.count++;
            }
        }
    }

    const app = Vue.createApp(vueOpt);
    const vm = app.mount('#app');

    vm.increment();
    console.log('count:', vm.$data.count);
</script>
</body>
</html>
